package com.chixing.day12_date_factory;

public class LocationTest {
    public static void main(String[] args) {
        Location<Integer,String> l1 = new Location<>();
        l1.setX(1);
        l1.setY("xxx");

        Location<Double,Integer> l2 = new Location<>();
        l2.setX(21.1);
        l2.setY(11);

    }
}
